Telegram Group & Telegram Channel
Даны следующие таблицы:

Employees
+-----------+---------+------------+
| EmployeeID| Name | Department |
+-----------+---------+------------+
| 1 | John | HR |
| 2 | Jane | IT |
| 3 | Mark | HR |
| 4 | Sarah | IT |
| 5 | Michael | Finance |
+-----------+---------+------------+

Salaries
+-----------+--------+
| EmployeeID| Salary |
+-----------+--------+
| 1 | 5000 |
| 2 | 6000 |
| 3 | 5500 |
| 4 | 6500 |
| 5 | 7000 |
+-----------+--------+

Какой из следующих SQL запросов отберет имена работников, имеющих зарплату большую или равную 6000?

A) SELECT Name FROM Employees WHERE Salary > 6000

B) SELECT Name FROM Employees JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID WHERE Salary >= 6000

C) SELECT Name FROM Employees INNER JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID WHERE Salary >= 6000

D) SELECT Name FROM Employees WHERE Salary >= 6000 JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID



tg-me.com/sql_for_qa/116
Create:
Last Update:

Даны следующие таблицы:

Employees

+-----------+---------+------------+
| EmployeeID| Name | Department |
+-----------+---------+------------+
| 1 | John | HR |
| 2 | Jane | IT |
| 3 | Mark | HR |
| 4 | Sarah | IT |
| 5 | Michael | Finance |
+-----------+---------+------------+

Salaries
+-----------+--------+
| EmployeeID| Salary |
+-----------+--------+
| 1 | 5000 |
| 2 | 6000 |
| 3 | 5500 |
| 4 | 6500 |
| 5 | 7000 |
+-----------+--------+

Какой из следующих SQL запросов отберет имена работников, имеющих зарплату большую или равную 6000?

A) SELECT Name FROM Employees WHERE Salary > 6000

B) SELECT Name FROM Employees JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID WHERE Salary >= 6000

C) SELECT Name FROM Employees INNER JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID WHERE Salary >= 6000

D) SELECT Name FROM Employees WHERE Salary >= 6000 JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID

BY SQL для тестировщика


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/sql_for_qa/116

View MORE
Open in Telegram


SQL для тестировщика Telegram | DID YOU KNOW?

Date: |

The S&P 500 slumped 1.8% on Monday and Tuesday, thanks to China Evergrande, the Chinese property company that looks like it is ready to default on its more-than $300 billion in debt. Cries of the next Lehman Brothers—or maybe the next Silverado?—echoed through the canyons of Wall Street as investors prepared for the worst.

China’s stock markets are some of the largest in the world, with total market capitalization reaching RMB 79 trillion (US$12.2 trillion) in 2020. China’s stock markets are seen as a crucial tool for driving economic growth, in particular for financing the country’s rapidly growing high-tech sectors.Although traditionally closed off to overseas investors, China’s financial markets have gradually been loosening restrictions over the past couple of decades. At the same time, reforms have sought to make it easier for Chinese companies to list on onshore stock exchanges, and new programs have been launched in attempts to lure some of China’s most coveted overseas-listed companies back to the country.

SQL для тестировщика from ru


Telegram SQL для тестировщика
FROM USA